home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 23
/
AMIGAplus Sonderheft 23 (2000)(Falke)(DE)[!].iso
/
Updates
/
Datatypes
/
JPEG-DT
/
JPEG-DT.readme
< prev
next >
Wrap
Text File
|
1999-11-15
|
3KB
|
96 lines
Short: New Datatype for JPEG Images (43.1)
Uploader: astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
Author: astegema@ix.urz.uni-heidelberg.de (Achim Stegemann)
Type: util/dtype
Version: 43.1
Requires minimum:
* OS 3.0
* MC68020
Additionally recommended:
* CyberGraphX with picture.datatype V43 for 24-bit images.
* MUI 3.8 for the preferences.
If you run OS 3.5, it is recommended to install the JPEG-DT35 archive !!
With the help of the jpeg.datatype, your datatype sytem is able to read JPEG images.
This datatype is freeware and can be used for any purpose !
##### Why another datatype for JPEG images ? #####
Well there are many of them available on the Aminet, but this has two unbeatable
advantages !!
1. It is very short, only about 8 kB !! Why ? Because it does not contain the JPEG
de/encoder and color quantizer in the datatype itself.
The datatype uses the jpeg.library from Paul Huxham for the JPEG de/encoding and the
render.library by Tim Müller for color reduction. The jpeg.library has been developed
from the latest JPEG V6b release, so it is up-to-date.
2. It can write JPEG files when using the DTMW_RAW flag in the DTM_WRITE method !!
The V45 of datatypes by Roland Mainz is supported, so you can convert any datatype
picture to JPEG.
#### Note ####
If you have another jpeg.datatype (with THIS name) installed on your Amiga with a
version number higher than 43.0, the installer will not be able to replace it.
In this case, you must copy the jpeg.datatype manually to your SYS:Classes/DataTypes
directory.
Changes since V43.0:
* Improved V43 setup to avoid problems under Picasso96 or OS 3.5.
* Glowicons are now default icons.
Internet: http://www.rzuser.uni-heidelberg.de/~astegema/
Important note about the source code:
*************************************
The source has been written in C++ using Maxon-C++ V3.
You will find several instructions a bit strange as I have converted all C-style OS-structures
to C++ OS-structures.
E.g.
struct Library
{
struct Node lib_Node;
UBYTE lib_Flags;
UBYTE lib_pad;
UWORD lib_NegSize;
UWORD lib_PosSize;
UWORD lib_Version;
UWORD lib_Revision;
APTR lib_IdString;
ULONG lib_Sum;
UWORD lib_OpenCnt;
};
has been converted to
struct Library:Node // !!!!!
{
UBYTE lib_Flags;
UBYTE lib_pad;
UWORD lib_NegSize;
UWORD lib_PosSize;
UWORD lib_Version;
UWORD lib_Revision;
APTR lib_IdString;
ULONG lib_Sum;
UWORD lib_OpenCnt;
};
This simplifies the code as I don't always need to cast variables to fit arguments
in functions.
Additionally C++ allows to leave away the 'struct' keyword !
If you like to recompile the source-code for your compiler, you need to adjust the
source-code to C. But this should be no problem.